package store.lunangangster.engine.bpmn.parser.handler;

import store.lunangangster.bpmn.model.Activity;
import store.lunangangster.bpmn.model.UserTask;
import store.lunangangster.engine.bpmn.parser.BpmnParser;
import store.lunangangster.engine.impl.bpmn.behavior.UserTaskBehavior;

public class UserTaskParseHandler extends ActivityParseHandler<UserTask> {

  @Override
  public void handle0(BpmnParser bpmnParser, UserTask userTask) {
    userTask.setBehavior(new UserTaskBehavior());
  }

  @Override
  public Class<? extends Activity> getType() {
    return UserTask.class;
  }
}
